﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
        <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="ButtonStyle.xaml"></ResourceDictionary>
        </ResourceDictionary.MergedDictionaries>
        

        <Style x:Key="WindowCancelButtonStyle" TargetType="Button" BasedOn="{StaticResource ButtonStyle}">
                <Setter Property="Content" Value="取消" ></Setter>
                <Setter Property="IsCancel" Value="True"></Setter>
        </Style>

        <Style x:Key="WindowAcceptButtonStyle" TargetType="Button" BasedOn="{StaticResource ButtonStyle}">
                <Setter Property="Content" Value="确定" ></Setter>
                <Setter Property="IsDefault" Value="True"></Setter>
        </Style>

        <Style x:Key="PageBackButtonStyle" TargetType="Button" BasedOn="{StaticResource ButtonStyle}">
                <Setter Property="Content" Value="返回" ></Setter>
                <Setter Property="IsCancel" Value="True"></Setter>
                <Setter Property="Command" Value="BrowseBack"></Setter>
        </Style>

</ResourceDictionary>